<nav class="breadcrumb" id="pathContainer">
    <i class="location-icon"></i>
    <span>您的位置：</span>
    <span>用户管理</span><span class="c-999 en">&gt;</span>
    <span class="c-primary">前端用户管理</span>
</nav>
    <div class="Hui-article mt-10" id="userContainer">
        <table class="table table-border table-bordered table-bgcolor-gary">
            <thead class="text-c row cl">
            <tr>
                <th class="col-1">序号</th>
                <th class="col-1">解惑号</th>
                <th class="col-1">昵称</th>
                <th class="col-1">性别</th>
                <th class="col-1">年龄</th>
                <th class="col-1">星座</th>
                <th class="col-1">职业</th>
                <th class="col-2">详情</th>
            </tr>
            </thead>
            <!-- 表内容 START -->
            <tbody class="text-c row cl" id="listAppointment"></tbody>
            <!-- 表内容 END -->
        </table>
        <div class="table-maxHeight">
            <table class="table table-border table-bordered table-hover bt-none">
                <tbody class="text-c row cl" id="ColumnTableData_user_m"></tbody>
            </table>
        </div>
        <div id="layPage" class="text-c mt-20"></div>
</div>



<!-- 用户列表 START -->
<script id="userManagementTbody" type="text/x-handlebars-template">
    \{{#each result.resultList}}
    <tr>
        <td class="col-1">
          \{{seq_num}}
        </td>
        <td class="col-1">
            <!--\{{number}}<input class="btn radius btn-secondary ml-10 jhh" type="button" value="配备解惑号">-->
            \{{number}}
            <!--<a class="btn radius btn-primary ml-10 myModal" href="#myModal" data-toggle="modal" data-id="\{{id}}">配备解惑号</a>-->
        </td>
        <!--<td class=""><img src="\{{PICTURE}}" alt=""></td>-->
        <td class="col-1">\{{nickName}}</td>
        <td class="col-1">\{{#mccmsaShowIfEqual sex '0'}}男\{{else}}女\{{/mccmsaShowIfEqual}}</td>
        <td class="col-1">\{{age}}</td>
        <td class="col-1">\{{constellation}}</td>
        <td class="col-1">\{{job}}</td>
        <td class="col-2">
            <button class="btn btn-secondary radius this_click" data-id="\{{id}}">
                详情
            </button>
            \{{#mccmsaShowIfEqual status '0'}}<input class="btn btn-danger radius feng" type="button" value="封号" data-id="\{{id}}" data-status="\{{status}}">\{{/mccmsaShowIfEqual}}
            \{{#mccmsaShowIfEqual status '1'}}<input class="btn btn-success radius feng" type="button" value="解封" data-id="\{{id}}" data-status="\{{status}}">\{{/mccmsaShowIfEqual}}
            <input class="btn btn-warning radius pingjia" type="button" value="会员评价" data-id="\{{id}}">
            \{{#mccmsaShowIfEqual isBan '0'}}  <input class="btn btn-warning radius jingyan" type="button" value="禁言" data-id="\{{id}}">\{{/mccmsaShowIfEqual}}
            \{{#mccmsaShowIfEqual isBan '1'}}  <input class="btn btn-success radius jingyan" type="button" value="解除禁言" data-id="\{{id}}">\{{/mccmsaShowIfEqual}}

        </td>
    </tr>
    \{{/each}}
</script>
<!--弹出层-->
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-header">
        <h3 id="myModalLabel">配备解惑号</h3><a class="close" data-dismiss="modal" aria-hidden="true" href="javascript:void(0);">×</a>
    </div>
    <div class="modal-body">
            <input type="text" placeholder="请输入解惑号" class="input-text radius size-M" id="jh_num">
    </div>
    <div class="modal-footer">
        <button class="btn btn-primary jh_num_save">确定</button> <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
    </div>
</div>
<!-- 用户列表 END -->
<script>
    seajs.config({
        base: "../jiehuo/sea-modules/",
        alias: {
            "jquery": "jquery.min.js"
        }
    });
//    new user_management();
    seajs.use("")
    seajs.use("jquery");
    seajs.use("../jiehuo/sea-modules/module_js/user_management");
    user_management();
</script>